﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="CustomerReceipt" targetNamespace="http://tempuri.org/CustomerReceipt.xsd" xmlns:mstns="http://tempuri.org/CustomerReceipt.xsd" xmlns="http://tempuri.org/CustomerReceipt.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections />
        <Tables />
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="CustomerReceipt" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="CustomerReceipt" msprop:Generator_DataSetName="CustomerReceipt">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="products" msprop:Generator_UserTableName="products" msprop:Generator_RowDeletedName="productsRowDeleted" msprop:Generator_RowChangedName="productsRowChanged" msprop:Generator_RowClassName="productsRow" msprop:Generator_RowChangingName="productsRowChanging" msprop:Generator_RowEvArgName="productsRowChangeEvent" msprop:Generator_RowEvHandlerName="productsRowChangeEventHandler" msprop:Generator_TableClassName="productsDataTable" msprop:Generator_TableVarName="tableproducts" msprop:Generator_RowDeletingName="productsRowDeleting" msprop:Generator_TablePropName="products">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="product" msprop:Generator_UserColumnName="product" msprop:Generator_ColumnVarNameInTable="columnproduct" msprop:Generator_ColumnPropNameInRow="product" msprop:Generator_ColumnPropNameInTable="productColumn" type="xs:string" minOccurs="0" />
              <xs:element name="id" msprop:Generator_UserColumnName="id" msprop:Generator_ColumnVarNameInTable="columnid" msprop:Generator_ColumnPropNameInRow="id" msprop:Generator_ColumnPropNameInTable="idColumn" type="xs:long" minOccurs="0" />
              <xs:element name="publisher" msprop:Generator_UserColumnName="publisher" msprop:Generator_ColumnPropNameInRow="publisher" msprop:Generator_ColumnVarNameInTable="columnpublisher" msprop:Generator_ColumnPropNameInTable="publisherColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="customers" msprop:Generator_UserTableName="customers" msprop:Generator_RowDeletedName="customersRowDeleted" msprop:Generator_RowChangedName="customersRowChanged" msprop:Generator_RowClassName="customersRow" msprop:Generator_RowChangingName="customersRowChanging" msprop:Generator_RowEvArgName="customersRowChangeEvent" msprop:Generator_RowEvHandlerName="customersRowChangeEventHandler" msprop:Generator_TableClassName="customersDataTable" msprop:Generator_TableVarName="tablecustomers" msprop:Generator_RowDeletingName="customersRowDeleting" msprop:Generator_TablePropName="customers">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="name" msprop:Generator_UserColumnName="name" msprop:Generator_ColumnVarNameInTable="columnname" msprop:Generator_ColumnPropNameInRow="name" msprop:Generator_ColumnPropNameInTable="nameColumn" type="xs:string" minOccurs="0" />
              <xs:element name="company" msprop:Generator_UserColumnName="company" msprop:Generator_ColumnVarNameInTable="columncompany" msprop:Generator_ColumnPropNameInRow="company" msprop:Generator_ColumnPropNameInTable="companyColumn" type="xs:string" minOccurs="0" />
              <xs:element name="internal" msprop:Generator_UserColumnName="internal" msprop:Generator_ColumnPropNameInRow="_internal" msprop:Generator_ColumnVarNameInTable="columninternal" msprop:Generator_ColumnPropNameInTable="internalColumn" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="copies" msprop:Generator_UserTableName="copies" msprop:Generator_RowDeletedName="copiesRowDeleted" msprop:Generator_RowChangedName="copiesRowChanged" msprop:Generator_RowClassName="copiesRow" msprop:Generator_RowChangingName="copiesRowChanging" msprop:Generator_RowEvArgName="copiesRowChangeEvent" msprop:Generator_RowEvHandlerName="copiesRowChangeEventHandler" msprop:Generator_TableClassName="copiesDataTable" msprop:Generator_TableVarName="tablecopies" msprop:Generator_RowDeletingName="copiesRowDeleting" msprop:Generator_TablePropName="copies">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="actualcopyno" msprop:Generator_UserColumnName="actualcopyno" msprop:Generator_ColumnVarNameInTable="columnactualcopyno" msprop:Generator_ColumnPropNameInRow="actualcopyno" msprop:Generator_ColumnPropNameInTable="actualcopynoColumn" type="xs:int" minOccurs="0" />
              <xs:element name="assumedcopyno" msprop:Generator_UserColumnName="assumedcopyno" msprop:Generator_ColumnVarNameInTable="columnassumedcopyno" msprop:Generator_ColumnPropNameInRow="assumedcopyno" msprop:Generator_ColumnPropNameInTable="assumedcopynoColumn" type="xs:int" minOccurs="0" />
              <xs:element name="receiveddate" msprop:Generator_UserColumnName="receiveddate" msprop:Generator_ColumnVarNameInTable="columnreceiveddate" msprop:Generator_ColumnPropNameInRow="receiveddate" msprop:Generator_ColumnPropNameInTable="receiveddateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="company_product_id" msprop:Generator_UserColumnName="company_product_id" msprop:Generator_ColumnVarNameInTable="columncompany_product_id" msprop:Generator_ColumnPropNameInRow="company_product_id" msprop:Generator_ColumnPropNameInTable="company_product_idColumn" type="xs:long" minOccurs="0" />
              <xs:element name="copyprice" msprop:Generator_UserColumnName="copyprice" msprop:Generator_ColumnPropNameInRow="copyprice" msprop:Generator_ColumnVarNameInTable="columncopyprice" msprop:Generator_ColumnPropNameInTable="copypriceColumn" type="xs:decimal" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="products_copies" msdata:parent="products" msdata:child="copies" msdata:parentkey="id" msdata:childkey="company_product_id" msprop:Generator_UserRelationName="products_copies" msprop:Generator_RelationVarName="relationproducts_copies" msprop:Generator_UserChildTable="copies" msprop:Generator_UserParentTable="products" msprop:Generator_ParentPropName="productsRow" msprop:Generator_ChildPropName="GetcopiesRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>